package datatypes;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
// JAX-RS supports an automatic mapping from JAXB annotated class to XML and JSON
// Isn't that cool?
public class vhomeClass {
	private int stid;
	private String stname;
	private String descriptor;
	private Double rating ;
	public vhomeClass() {}
	public vhomeClass(int id, String name, String desc, Double rat) {
		this.stid = id ; 
		this.stname = name ;
		this.descriptor = desc ;
		this.rating = rat ;
	}
	public int getstid() {
		return stid;
	}
	public void setstid(int stid) {
		this.stid = stid;
	}
	public String getstname() {
		return stname;
	}
	public void setstname(String stname) {
		this.stname = stname;
	}
	public String getDescriptor() {
		return descriptor;
	}
	public void setDescriptor(String descriptor) {
		this.descriptor = descriptor;
	}
	public Double getRating() {
		return rating;
	}
	public void setRating(Double rating) {
		this.rating = rating;
	}

	
}